//
// Created by chen on 2023/5/14.
//
#include "manager.h"

Manager::Manager(int id, std::string name, int dId) {
    this->m_id = id;
    this->m_name = name;
    this->m_deptId = dId;
}

void Manager::showInfo() {
    cout << "职工编号：" << this->m_id << "\t职工姓名：" << this->m_name << "\t岗位：" << this->getDeptName() << "\t岗位职责：完成老板交给的任务，并下发任务给员工" << endl;
}

string Manager::getDeptName() {
    return string("经理");
}
